var express = require('express');
var router = express.Router();
const { createClasses, getClasses, delClasses, subGetClasses, changeClasses } = require('../controllers/classesControllers')
    /* GET home page. */
    //二级接口
    //新增专业
router.post('/createClasses', createClasses);
router.post('/delClasses', delClasses);
router.post('/subGetClasses', subGetClasses);
router.post('/changeClasses', changeClasses);
router.get('/getClasses', getClasses);


module.exports = router;